package com.yuanqi.java.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yuanqi.java.dto.PurchaseReturnOrderStatisticsQueryDTO;
import com.yuanqi.java.dto.PurchaseReturnOrderStatisticsVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 采购退货单统计 Mapper 接口
 * </p>
 *
 * @author author
 * @since 2025-09-05
 */
@Mapper
public interface PurchaseReturnOrderStatisticsMapper extends BaseMapper<Object> {

    /**
     * 分页查询采购退货单统计
     *
     * @param page 分页参数
     * @param queryDTO 查询条件
     * @return 分页结果
     */
    Page<PurchaseReturnOrderStatisticsVO> selectReturnOrderStatisticsPage(Page<PurchaseReturnOrderStatisticsVO> page, @Param("query") PurchaseReturnOrderStatisticsQueryDTO queryDTO);
}